package io.renren.modules.substation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.substation.entity.TInfoAlarmConfigEntity;

import java.util.Map;

/**
 * 告警阈值配置表
 *
 * @author yzx
 * @email sunlightcs@gmail.com
 * @date 2020-06-19 16:55:28
 */
public interface TInfoAlarmConfigService extends IService<TInfoAlarmConfigEntity> {

    PageUtils queryPage(Map<String, Object> params);
    Map<String, TInfoAlarmConfigEntity> getCacheAlarmConfigMap();
    TInfoAlarmConfigEntity getCacheAlarmConfigInfo(String key);
    void refreshCacheAlarmConfig();
    int updateHealthStatus(String key, String status);
    void jobRefreshDevHealth();
    String compareVariableAlarmConfig(String devCode, String key, String type, String variableValue);
}

